package com.bjx.demo.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.bjx.common.core.domain.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

/**
 * @desc: 请假信息数据实体
 * @author: liushuai
 * @date: 2022/10/20
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("dm_vacation")
@Schema(title = "Vacation",description = "请假信息")
public class VacationEntity extends BaseEntity {
      /**
      * 请假Id
      */
      @TableId(type = IdType.AUTO)
      @Schema(title = "vacationId",description = "请假Id")
      private  Long vacationId; 
      
      /**
      * 请假事由
      */
      @Schema(title = "reasons",description = "请假事由")
      private  String reasons; 
      
      /**
      * 申请人
      */
      @Schema(title = "applyUser",description = "申请人")
      private  Long applyUser; 
      
      /**
      * 审批状态
      */
      @Schema(title = "status",description = "审批状态")
      private  Short status; 
      
      /**
      * 组织机构Id
      */
      @Schema(title = "orgId",description = "组织机构Id")
      private  Long orgId; 
      
      /**
      * 公司Id
      */
      @Schema(title = "comId",description = "公司Id")
      private  Long comId; 
      
      /**
      * 假期开始时间
      */
      @Schema(title = "startTime",description = "假期开始时间")
      private  Date startTime; 
      
      /**
      * 假期结束时间
      */
      @Schema(title = "endTime",description = "假期结束时间")
      private  Date endTime; 
      
}